package com.yunxi.sto.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.sto.pojo.StoStorageStaffUserVO;
import com.yunxi.sto.pojo.StoStorageStaffVO;

import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;

public class StoStorageStaffDubboServiceMock implements  StoStorageStaffDubboService {
    @Override
    public StoStorageStaffVO getById(String id) throws InvocationTargetException, IllegalAccessException {
        StoStorageStaffVO vo  =  new StoStorageStaffVO();
        vo.setStorageStaffNo("暂无数据");
        return vo;
    }

    @Override
    public void saveOrUpdate(StoStorageStaffVO stoStorageStaffVO) throws Exception {

    }

    @Override
    public void removeById(String id) {

    }

    @Override
    public PageInfo<StoStorageStaffVO> findPageByVO(StoStorageStaffVO stoStorageStaffVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException {
        PageInfo<StoStorageStaffVO> page =  new   PageInfo<StoStorageStaffVO>();
        List  list  =  new ArrayList();
        StoStorageStaffVO vo =  new StoStorageStaffVO();
        vo.setStorageStaffNo("暂无数据");
        list.add(vo);
        page.setList(list);
        return page;

    }

    @Override
    public void removeByListVo(List<StoStorageStaffVO> stoStorageStaffVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException {

    }

    @Override
    public void delAndReset(List<String> list, String isOnUse, String userId) throws Exception {

    }

    @Override
    public List<StoStorageStaffVO> staffList() throws Exception {
        List  list  =  new ArrayList();
        StoStorageStaffVO vo =  new StoStorageStaffVO();
        vo.setStorageStaffNo("暂无数据");
        list.add(vo);
        return list;
    }

    @Override
    public List<StoStorageStaffVO> export(StoStorageStaffVO stoStorageStaffVO) throws Exception {
        List  list  =  new ArrayList();
        StoStorageStaffVO vo =  new StoStorageStaffVO();
        vo.setStorageStaffNo("暂无数据");
        list.add(vo);
        return list;
    }

    @Override
    public List<StoStorageStaffUserVO> getStaffList(String positionCode, String partnerCode) {
        List  list  =  new ArrayList();
        StoStorageStaffUserVO vo =  new StoStorageStaffUserVO();
        vo.setPartnerCode("暂无数据");
        list.add(vo);
        return list;
    }
}
